﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jsprofile.aspx.cs" Inherits="Hired.jsprofile"
    MasterPageFile="Hired2Div.master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="HeadPlaceHolder">
    <link media="screen" rel="stylesheet" href="css/colorbox.css" />
    <script type="text/javascript" src="js/jquery.colorbox.js"></script>
    <script type="text/javascript">
        $(function () {
            $('a#message').live('click', function () {
                $.colorbox({ title: "Create a Message", href: "../message.aspx" });
            });
        });
    </script>
    <style type="text/css">
        .profile_left
        {
            float: left;
            width: 180px;
        }
        .profile_right
        {
            float: left;
        }
        .profile_watchinglist
        {
            float: left;
            width: 270px;
            height: 575px;
            background: url(images/watchinglist.png);
        }
        p.profile
        {
            margin-top: 10px;
            padding-right: 0px;
            padding-left: 0px;
        }
        p.watchingListNumber
        {
            font-size: 30px;
            font-family: "Franklin Gothic Demi" , "Arial";
            color: Gray;
        }
        .heading
        {
            position: relative;
            padding-left: 5px;
            font-family: Impact;
            font-size: 120%;
            color: Silver;
            top: 0px;
            left: 0px;
        }
        .headingline
        {
            width: 335px;
            bottom: 0px;
        }
        .updateinfo
        {
            float: right;
            position: absolute;
            right: -280px;
            top: 5px;
        }
        .buddyrequest
        {
            float: right;

        }
        .lvImages
        {
            margin-top: 10px;
            margin-left: 15px;
        }
        .imgThumbnail
        {
            margin-left: 5px;
            margin-top: 5px;
        }
        .imgThumbnail:hover
        {
            cursor: pointer;
        }
        .linkButtonViewAll
        {
            float: right;
            margin-top: 500px;
            margin-right: 5px;
        }
        .listView
        {
            float: left;
            margin-top: 50px;
        }
        ol.numbers
        {
            font-size: 20px;
            font-family: "Franklin Gothic Demi" , "Arial";
            color: Gray;
        }
        li.contents
        {
            font-size: 10px;
            font-family: "Franklin Gothic Demi" , "Arial";
            color: Black;
        }
        .gvQuestions
        {
            width: 90%;
            margin: 0 auto;
            padding: 2px;
            text-align: center;
            border-bottom: 1px solid #B8B58A;
        }
        .style1
        {
            width: 100px;
            text-align: right;
            margin-right: 8px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="LeftPlaceHolder">
    <asp:UpdatePanel ID="updatePanel" runat="server">
        <ContentTemplate>
            <div class="profile_left">
                <br />
                <asp:Image ID="imgProfile" runat="server" ImageUrl="~/Images/ProfilePic.png" />
                &nbsp;<br />
                <br />
                <p class="profile">
                    <asp:ImageButton ID="btnWall" runat="server" ImageUrl="images/Wall.png" OnClick="btnWall_Click" />
                    <p class="profile">
                        <asp:ImageButton ID="btnInformation" runat="server" ImageUrl="images/jsInfo.png"
                            OnClick="btnInformation_Click" />
                        <p class="profile">
                            <asp:ImageButton ID="btnBuddyList" runat="server" ImageUrl="images/buddyList.png"
                                OnClick="btnBuddyList_Click" Height="23px" />
                            <p class="profile">
                                <asp:ImageButton ID="btnImages" runat="server" ImageUrl="images/images.png" OnClick="btnImages_Click" />
                                <p class="profile">
                                    <asp:ImageButton ID="btnInbox" runat="server" ImageUrl="/images/inbox.png" OnClick="btnInbox_Click" />
                                    <p class="profile">
                                        <asp:ImageButton ID="btnResume" runat="server" ImageUrl="/images/Resume.png" />
                &nbsp;</div>
            <div class="profile_right">
                <asp:Panel ID="pnlWall" runat="server">
                    <asp:Label ID="lblUsername" runat="server" Font-Bold="True" Font-Size="Large"></asp:Label>
                    <br />
                    <asp:TextBox ID="txtComment" runat="server" Height="40px" TextMode="MultiLine" Width="450px"
                    CssClass="txtComment"></asp:TextBox><asp:Button ID="btnComment" runat="server" Text="Comment" Width="79px" OnClick="btnComment_Click" />
                        &nbsp;<asp:Panel ID="pnlContainer" runat="server">
                        </asp:Panel>
                </asp:Panel>
                <asp:Panel ID="pnlPersonalInformation" runat="server" Visible="False" Style="position: relative;">
                    <div class="heading">
                        Basic information<div class="headingline">
                        </div>
                    </div>
                    <div class="updateinfo">
                        <asp:LinkButton ID="lblUpdateInfo" runat="server" Font-Size="X-Small" OnClick="lblUpdateInfo_Click">Update your information...</asp:LinkButton>
                    </div>
                    <p>
                        <asp:Label ID="lblFirstName" runat="server">First Name:</asp:Label>
                        <asp:Label ID="lblFirstNameValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblLastName" runat="server">Last Name:</asp:Label>
                        <asp:Label ID="lblLastNameValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblGender" runat="server">Gender:</asp:Label>
                        <asp:Label ID="lblGenderValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblDateOfBirth" runat="server">Date of Birth:</asp:Label>
                        <asp:Label ID="lblDateOfBirthValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblNationality" runat="server">Nationality:</asp:Label>
                        <asp:Label ID="lblNationalityValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblCountryOfResidence" runat="server">Country Of Residence:</asp:Label>
                        <asp:Label ID="lblCountryOfResidenceValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblAddress" runat="server">Address:</asp:Label>
                        <asp:Label ID="lblAddressValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblPostalCode" runat="server">ZIP/Postal Code:</asp:Label>
                        <asp:Label ID="lblPostalCodeValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblWebsite" runat="server">Personal Website:</asp:Label>
                        <asp:Label ID="lblWebsiteValue" runat="server"></asp:Label>
                    </p>
                    <div class="heading">
                        Contact information<div class="headingline">
                        </div>
                    </div>
                    <p>
                        <asp:Label ID="lblEmail" runat="server">E-mail:</asp:Label>
                        <asp:Label ID="lblEmailValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <asp:Label ID="lblHomeNumber" runat="server">Home Number:</asp:Label>
                        <asp:Label ID="lblHomeNumberValue" runat="server"></asp:Label>
                        <asp:Label ID="lblMobileNumber" runat="server">Mobile Number:</asp:Label>
                        <asp:Label ID="lblMobileNumberValue" runat="server"></asp:Label>
                        <br />
                        <br />
                        <div class="heading">
                            Work/education information<div class="headingline">
                            </div>
                        </div>
                        <p>
                            <asp:Label ID="lblEducationLevel" runat="server">Education Level:</asp:Label>
                            <asp:Label ID="lblEducationLevelValue" runat="server"></asp:Label>
                            <br />
                            <br />
                            <asp:Label ID="lblPreviousEducationalInstitute" runat="server">Previous Educational Institute:</asp:Label>
                            <asp:Label ID="lblPreviousEducationalInstituteValue" runat="server"></asp:Label>
                            <asp:Label ID="lblSpecialization" runat="server">Specialization</asp:Label>
                            <asp:Label ID="lblSpecializationValue" runat="server"></asp:Label>
                            <br />
                            <br />
                            <asp:Label ID="lblPreviousEmployment" runat="server">Previous Employment:</asp:Label>
                            <asp:Label ID="lblPreviousEmploymentValue" runat="server"></asp:Label>
                            <asp:Label ID="lblCurrentEmployment" runat="server">Current Employment:</asp:Label>
                            <asp:Label ID="lblCurrentEmploymentValue" runat="server"></asp:Label>
                        </p>
                </asp:Panel>
                <asp:Panel ID="pnlUpdateInformation" runat="server" Visible="false">
                    <div class="heading">
                        Basic information
                        <div class="headingline">
                        </div>
                    </div>
                    <p>
                        First Name: &nbsp;<asp:TextBox ID="txtFirstName" runat="server" />
                        <asp:RequiredFieldValidator ID="RequiredFieldFirstname" runat="server" ControlToValidate="txtFirstName"
                            Display="Dynamic" ErrorMessage="Required Field" Font-Size="X-Small" ForeColor="Red"
                            ValidationGroup="UpdateGroup"></asp:RequiredFieldValidator>
                        <br />
                        <br />
                        Last Name: &nbsp;<asp:TextBox ID="txtLastName" runat="server" />
                        <asp:RequiredFieldValidator ID="RequiredFieldLastname" runat="server" ControlToValidate="txtLastName"
                            Display="Dynamic" ErrorMessage="Required Field" Font-Size="X-Small" ForeColor="Red"
                            ValidationGroup="UpdateGroup"></asp:RequiredFieldValidator>
                        <br />
                        <br />
                        Gender: &nbsp;<asp:DropDownList ID="ddlGender" runat="server">
                            <asp:ListItem>Male</asp:ListItem>
                            <asp:ListItem>Female</asp:ListItem>
                        </asp:DropDownList>
                        <br />
                        <br />
                        Date of Birth: &nbsp;<asp:TextBox ID="txtDateOfBirth" runat="server" />
                        <asp:RegularExpressionValidator ID="RegularExpressionDOB" runat="server" ControlToValidate="txtDateOfBirth"
                            Display="Dynamic" ErrorMessage="Date of Birth must be dd-mm-yyyy" Font-Size="X-Small"
                            ForeColor="Red" ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[-](0[1-9]|1[012])[-](19|20)\d\d$"
                            ValidationGroup="UpdateGroup"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldDOB" runat="server" ControlToValidate="txtDateOfBirth"
                            Display="Dynamic" ErrorMessage="Required Field" Font-Size="X-Small" ForeColor="Red"
                            ValidationGroup="UpdateGroup"></asp:RequiredFieldValidator>
                        <asp:CustomValidator ID="CustomDOB" runat="server" ControlToValidate="txtDateOfBirth"
                            Display="Dynamic" ErrorMessage="You must be at least 16 years old" Font-Size="X-Small"
                            ForeColor="Red" OnServerValidate="CustomDOB_ServerValidate" ValidationGroup="UpdateGroup"></asp:CustomValidator>
                        <br />
                        <br />
                        Nationality: &nbsp;<asp:TextBox ID="txtNationality" runat="server" />
                        <asp:RequiredFieldValidator ID="RequiredFieldNationality" runat="server" ControlToValidate="txtNationality"
                            Display="Dynamic" ErrorMessage="Required Field" Font-Size="X-Small" ForeColor="Red"
                            ValidationGroup="UpdateGroup">
                        </asp:RequiredFieldValidator>
                        <br />
                        <br />
                        Country Of Residence: &nbsp;<asp:DropDownList ID="ddlCountryOfResidence" runat="server" />
                        <br />
                        <br />
                        Address: &nbsp;<asp:TextBox ID="txtAddress" runat="server" />
                        <asp:RequiredFieldValidator ID="RequiredFieldAddress" runat="server" ControlToValidate="txtAddress"
                            Display="Dynamic" ErrorMessage="Required Field" Font-Size="X-Small" ForeColor="Red"
                            ValidationGroup="UpdateGroup"></asp:RequiredFieldValidator>
                        <br />
                        <br />
                        ZIP/Postal Code: &nbsp;<asp:TextBox ID="txtPostalCode" runat="server" />
                        <asp:RequiredFieldValidator ID="RequiredFieldPostalCode" runat="server" ControlToValidate="txtPostalCode"
                            Display="Dynamic" ErrorMessage="Required Field" Font-Size="X-Small" ForeColor="Red"
                            ValidationGroup="UpdateGroup"></asp:RequiredFieldValidator>
                        <br />
                        <br />
                        Personal Website: &nbsp;<asp:TextBox ID="txtWebsiteURL" runat="server" />
                        <asp:RegularExpressionValidator ID="RegularExpressionWebsiteURL" runat="server" ControlToValidate="txtWebsiteURL"
                            ErrorMessage="Invalid Website" Font-Size="X-Small" ForeColor="Red" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
                    </p>
                    <div class="heading">
                        Contact information<div class="headingline">
                        </div>
                    </div>
                    <p>
                        E-mail: &nbsp;<asp:Label ID="lblUpdateEmail" runat="server" /><br />
                        <br />
                        Home Number: &nbsp;<asp:TextBox ID="txtHomeNumber" runat="server" />
                        <br />
                        <br />
                        Mobile Number: &nbsp;<asp:TextBox ID="txtMobileNumber" runat="server" />
                        <br />
                        <br />
                        <div class="heading">
                            Work/education information<div class="headingline">
                            </div>
                        </div>
                        <p>
                            Education Level: &nbsp;<asp:DropDownList ID="ddlEducationLevel" runat="server">
                                <asp:ListItem>PSLE</asp:ListItem>
                                <asp:ListItem>GCE &#39;N&#39; Level</asp:ListItem>
                                <asp:ListItem>GCE &#39;O&#39; Level</asp:ListItem>
                                <asp:ListItem>GCE &#39;A&#39; Level</asp:ListItem>
                                <asp:ListItem>International Baccalaureate</asp:ListItem>
                                <asp:ListItem>Diploma</asp:ListItem>
                                <asp:ListItem>Bachelor&#39;s degree</asp:ListItem>
                                <asp:ListItem>Master&#39;s degree</asp:ListItem>
                                <asp:ListItem>Other</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <br />
                            Previous Educational Institute: &nbsp;<asp:TextBox ID="txtPreviousEducationalInstitute"
                                runat="server" />
                            <br />
                            <br />
                            Specialization &nbsp;<asp:DropDownList ID="ddlSpecialization" runat="server">
                                <asp:ListItem>N/A</asp:ListItem>
                                <asp:ListItem>Accounting</asp:ListItem>
                                <asp:ListItem>Administration</asp:ListItem>
                                <asp:ListItem>Arts, Media &amp; Communication</asp:ListItem>
                                <asp:ListItem>Computing</asp:ListItem>
                                <asp:ListItem>Construction</asp:ListItem>
                                <asp:ListItem>Education</asp:ListItem>
                                <asp:ListItem>Engineering</asp:ListItem>
                                <asp:ListItem>Healthcare</asp:ListItem>
                                <asp:ListItem>Hotels &amp; Restaurants</asp:ListItem>
                                <asp:ListItem>Manufacturing</asp:ListItem>
                                <asp:ListItem>Sales &amp; Marketing</asp:ListItem>
                                <asp:ListItem>Sciences</asp:ListItem>
                                <asp:ListItem>Services</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <br />
                            Previous Employment: &nbsp;<asp:TextBox ID="txtPreviousEmployment" runat="server" />
                            <br />
                            <br />
                            Current Employment: &nbsp;<asp:TextBox ID="txtCurrentEmployment" runat="server" />
                            <br />
                            <br />
                        </p>
                        <asp:Button ID="btnUpdate" runat="server" Text="Update information" Style="float: right;
                            margin-right: 5px;" ValidationGroup="UpdateGroup" OnClick="btnUpdate_Click" />
                </asp:Panel>
                <asp:Panel ID="pnlBuddyList" runat="server" Visible="False">
                    <div class="heading">
                        Your buddies<div class="headingline">
                        </div>
                        <div class="buddyrequest">
                            <asp:LinkButton ID="lblBuddyRequest" runat="server" Font-Size="X-Small" OnClick="lblBuddyRequest_Click">View buddy requests</asp:LinkButton>
                        </div>
                    </div>
                    <p>
                        &nbsp;<asp:ListView ID="lvBuddyList" runat="server" DataKeyNames="Username">
                            <EmptyDataTemplate>
                                <span>No data was returned.</span>
                            </EmptyDataTemplate>
                            <ItemTemplate>
                                <table width="560px">
                                    <tr>
                                        <td width="100px">
                                            <asp:Image ID="imgBuddyProfile" runat="server" ImageUrl='<%# Eval("ImageAddress") %>' />
                                        </td>
                                        <td>
                                            <asp:LinkButton ID="lblBuddyName" runat="server" Text='<%# Eval("Name") %>' PostBackUrl='<%# "viewprofile.aspx?username=" + Eval("Username") %>' />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                            <LayoutTemplate>
                                <div id="itemPlaceholderContainer" runat="server" style="font-family: Verdana, Arial, Helvetica, sans-serif;">
                                    <span runat="server" id="itemPlaceholder" />
                                </div>
                                <div style="text-align: center; background-color: #FFCC66; font-family: Verdana, Arial, Helvetica, sans-serif;
                                    color: #333333;">
                                    <asp:DataPager ID="DataPager1" runat="server">
                                        <Fields>
                                            <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="True" ShowLastPageButton="True" />
                                        </Fields>
                                    </asp:DataPager>
                                </div>
                            </LayoutTemplate>
                        </asp:ListView>
                        <p>
                        </p>
                    </p>
                </asp:Panel>
                <asp:Panel ID="pnlBuddyRequests" runat="server" Visible="false">
                    <div class="heading">
                        Your buddy requests<div class="headingline">
                        </div>
                    </div>
                    <p>&nbsp;</p>
                        <asp:GridView ID="gvBuddyRequests" runat="server" AutoGenerateColumns="False" 
                        onrowcommand="gvBuddyRequests_RowCommand">
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:Image ID="imgProfilePic" runat="server" />
                                    <asp:LinkButton ID="linkBtnUsername" runat="server" Text=<%# Eval("Username") %> PostBackUrl=<%# "viewprofile.aspx?username=" + Eval("UserID")%>></asp:LinkButton>
                                    <br />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:Button ID="btnAccept" runat="server" Text="Accept" CommandName="Accept" CommandArgument=<%# Eval("UserID") %> />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:Button ID="btnDecline" runat="server" Text="Decline" CommandName="Decline" CommandArgument=<%# Eval("UserID") %>/>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </asp:Panel>
                <asp:Panel ID="pnlImages" runat="server" Visible="False" Style="width: 560px;">
                    <div class="heading">
                        Your images<div class="headingline">
                        </div>
                    </div>
                    <a href="#" onclick="window.open('imgupload.aspx','Upload an image','width=400,height=100')"
                        style="float: right;">Upload...</a>
                    <div class="lvImages">
                        <asp:ListView ID="lvImages" runat="server" DataSourceID="edsImages" DataKeyNames="ImageAddress">
                            <ItemTemplate>
                                <asp:Image ID="imgThumbnail" runat="server" Width="120px" Height="120px" ImageUrl='<%# Eval("ImageAddress") %>'
                                    CssClass="imgThumbnail" />
                                <asp:ModalPopupExtender ID="ModalPopupExtenderImage" runat="server" CancelControlID="btnExit"
                                    PopupControlID="pnlImgPopup" TargetControlID="imgThumbnail" BackgroundCssClass="modalBackground" />
                                <asp:Panel ID="pnlImgPopup" runat="server" CssClass="modalPopup">
                                    <asp:Image ID="imgPopup" runat="server" ImageUrl='<%# Eval("ImageAddress") %>' />
                                    <br />
                                    <br />
                                    <asp:ImageButton ID="btnDelete" runat="server" ImageUrl="images/deleteicon.png" Style="float: left;"
                                        CommandName="Delete" />
                                    <asp:ImageButton ID="btnExit" runat="server" ImageUrl="images/closelabel.gif" Style="float: right;" />
                                    <%--<asp:ModalPopupExtender ID="ModalPopupExtenderDelete" runat="server" CancelControlID="btnExit"
                                        PopupControlID="pnlDeletePopup" TargetControlID="btnDelete" BackgroundCssClass="modalBackground" />--%>
                                    <br />
                                </asp:Panel>
                            </ItemTemplate>
                            <LayoutTemplate>
                                <table>
                                    <tr>
                                        <td runat="server" id="itemPlaceHolder">
                                            <asp:DataPager ID="DataPagerImages" runat="server" PagedControlID="lvImages" PageSize="12"
                                                style="float: right; margin: 15px 5px 5px auto;">
                                                <Fields>
                                                    <asp:NextPreviousPagerField NextPageText="" PreviousPageText="Previous" />
                                                    <asp:NumericPagerField NextPageText="" PreviousPageText="" />
                                                    <asp:NextPreviousPagerField NextPageText="Next..." PreviousPageText="" />
                                                </Fields>
                                            </asp:DataPager>
                                        </td>
                                    </tr>
                                </table>
                            </LayoutTemplate>
                        </asp:ListView>
                        <asp:EntityDataSource ID="edsImages" runat="server" ConnectionString="name=hireddbEntities"
                            DefaultContainerName="hireddbEntities" EnableFlattening="False" EntitySetName="ImageRosters"
                            Where="it.UserID == @id">
                            <WhereParameters>
                                <asp:ControlParameter ControlID="lvImages" DbType="String" DefaultValue="" Name="id"
                                    PropertyName="SelectedValue" />
                            </WhereParameters>
                        </asp:EntityDataSource>
                    </div>
                </asp:Panel>
                <asp:Panel ID="pnlInbox" runat="server" Visible="false">
                    <div class="heading">
                        Your inbox<div class="headingline">
                        </div>
                    </div>
                    <p>
                        <asp:GridView ID="gvInbox" runat="server" AutoGenerateColumns="False" CssClass="gvQuestions"
                            DataKeyNames="MessageID" OnRowCommand="gvInbox_RowCommand">
                            <Columns>
                                <asp:TemplateField HeaderText="From" SortExpression="MessageID">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lblUsername" runat="server" Text='<%# Eval("Username") %>' PostBackUrl='<%# "viewprofile.aspx?username=" + Eval("Username") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Title" SortExpression="Title">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lblTitle" runat="server" Text='<%# Eval("Title") %>' CommandName="Select"
                                            CommandArgument='<%# Eval("MessageID") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="Timestamp" HeaderText="Time sent" SortExpression="Timestamp" />
                                <asp:TemplateField HeaderText="Delete" ShowHeader="False">
                                    <ItemTemplate>
                                        <asp:ImageButton ID="btnDelete" runat="server" CausesValidation="False" ImageUrl="images/deleteicon.png"
                                            CommandName="Delete" CommandArgument='<%# Eval("MessageID") %>' />
                                        <asp:Panel ID="pnlDeletePopup" runat="server" CssClass="modalPopup">
                                            Confirm delete?
                                            <br />
                                            <br />
                                            <asp:Button ID="btnCancel" Style="float: right" runat="server" Text="Cancel" />
                                            <asp:Button ID="btnConfirm" Style="float: right; margin-right: 25px;" runat="server"
                                                Text="OK" />
                                            <br />
                                        </asp:Panel>
                                        <asp:ConfirmButtonExtender ID="btnDelete_ConfirmButtonExtender" runat="server" ConfirmText=""
                                            Enabled="True" TargetControlID="btnDelete" DisplayModalPopupID="DeleteModalPopupExtender">
                                        </asp:ConfirmButtonExtender>
                                        <asp:ModalPopupExtender ID="DeleteModalPopupExtender" runat="server" TargetControlID="btnDelete"
                                            DropShadow="True" PopupControlID="pnlDeletePopUp" CancelControlID="btnCancel"
                                            OkControlID="btnConfirm" BackgroundCssClass="modalBackground">
                                        </asp:ModalPopupExtender>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <HeaderStyle BackColor="#9933FF" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BorderStyle="Outset" HorizontalAlign="Left" VerticalAlign="Middle" />
                        </asp:GridView>
                    </p>
                    <p>
                        &nbsp;<asp:Panel ID="pnlMessage" runat="server" Visible="false">
                            <table width="560px">
                                <tr>
                                    <td class="style1">
                                        From:
                                    </td>
                                    <td>
                                        <asp:Label ID="lblMessageSender" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style1">
                                        Title:
                                    </td>
                                    <td>
                                        <asp:Label ID="lblMessageTitle" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style1">
                                        Contents:
                                    </td>
                                    <td>
                                        <asp:Label ID="lblMessageContents" runat="server" />
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                </asp:Panel>
                <asp:Panel ID="pnlResume" runat="server" Visible="false">
                    <div class="heading">
                        Your resume<div class="headingline">
                        </div>
                    </div>
                </asp:Panel>
            </div>
            <%-- <asp:Panel ID="pnlDeletePopup" runat="server" CssClass="modalPopup">
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
            </asp:Panel> --%>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="RightPlaceHolder">
    <div class="profile_watchinglist">
        <asp:ListView class="listView" ID="lvWatchingList" runat="server">
            <ItemTemplate>
                <ol class="numbers">
                    <li class="contents">
                        <asp:Label ID="lblJobTitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                        <asp:Label ID="lblEmployer" runat="server" Text='<%# Eval("CompanyName") %>'></asp:Label>
                    </li>
                </ol>
            </ItemTemplate>
        </asp:ListView>
        <asp:LinkButton class="linkButtonViewAll" ID="linkBtnViewAll" runat="server" OnClick="linkBtnViewAll_Click">View All</asp:LinkButton>
    </div>
</asp:Content>
